import React from 'react'

//拿到list传递的数据进行一个解构
export default function Item({avatar_url,login,url,}) {
  return (
    <div className="card">
      <a href={url} target="_blank">
        <img src={avatar_url}style={{ width: '100px' }} />
      </a>
      <p className="card-text">{login}</p>
    </div>
  )
}
